import java.util.List;
import java.util.Set;

import com.deepplin.mongodbmanager.control.MongoDBController;
import com.deepplin.mongodbmanager.util.MongoDBUtil;

public class TestClass {

	public static void main(String[] args) {
		
		MongoDBUtil mgUtil = new MongoDBUtil();

		/*
		MongoDBController mgController = MongoDBController.getInstance();
		
		if( mgController.connection("localhost", 27017) == true){
			List<String> list = mgController.getDBList();
			
			for (String string : list) {
				System.out.println(string);
			}
		}
				
		
		Set<String> list2 = mgController.getCollectionList("test");
		for (String string : list2) {
			System.out.println(string);
		}		
		
		System.out.println( mgController.countDocument("test", "temp"));
		*/
	}
	

}
